package cn.jjxx.modules.sbfb.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.sbfb.mapper.EqMixStationMapper;
import cn.jjxx.modules.sbfb.entity.EqMixStation;
import cn.jjxx.modules.sbfb.service.IEqMixStationService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 机化站信息
 * @Description: 机化站信息
 * @author yw
 * @date 2021-12-23 16:17:31
 * @version V1.0   
 *
 */
@Transactional
@Service("eqMixStationService")
public class EqMixStationServiceImpl  extends CommonServiceImpl<EqMixStationMapper,EqMixStation> implements  IEqMixStationService {

	@Override
	public boolean insertBatch(List<EqMixStation> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<EqMixStation> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
